Make builtin icons work in gtk_window_set_icon_name() (#321046, Maxim
authorMatthias Clasen <mclasen@redhat.com>
Sat, 12 Nov 2005 06:59:49 +0000 (06:59 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 12 Nov 2005 06:59:49 +0000 (06:59 +0000)
commit82f12b610d4087d30f0f2ca45bbf1f276abe6930
tree3f7ee7dd8788931aa3fd096203972826f28b0476
parentde283259596799d76405e0b90facc17bd5a9850b
Make builtin icons work in gtk_window_set_icon_name() (#321046, Maxim

2005-11-12  Matthias Clasen  <mclasen@redhat.com>

Make builtin icons work in gtk_window_set_icon_name()
(#321046, Maxim Udushlivy)

* gtk/gtkicontheme.c (insert_theme): Always insert the default
theme.
(ensure_valid_themes): Call _gtk_icon_theme_ensure_builtin_cache()
from here.
(theme_lookup_icon, find_builtin_icon): ...and not from here.
(gtk_icon_theme_lookup_icon): Remove an unncessary assert.
(gtk_icon_theme_get_icon_sizes): Also check builtin icons.
ChangeLog
ChangeLog.pre-2-10
gtk/gtkicontheme.c